(show_help_echo): Call message3_nolog with number of
authorGerd Moellmann <gerd@gnu.org>
Mon, 13 Nov 2000 13:35:52 +0000 (13:35 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 13 Nov 2000 13:35:52 +0000 (13:35 +0000)
bytes in the help string as 2nd parameter, instead of the number
of characters.

src/keyboard.c

index b086ae57ca629c066e04adcf3b11f5aa1d8a3e83..a8472f2318b7be02b45f0d2d45e273852f2901a2 100644 (file)
@@ -2001,7 +2001,7 @@ show_help_echo (help, window, object, pos, ok_to_overwrite_keystroke_echo)
            {
              int count = specpdl_ptr - specpdl;
              specbind (Qmessage_truncate_lines, Qt);
-             message3_nolog (help, XSTRING (help)->size,
+             message3_nolog (help, STRING_BYTES (XSTRING (help)),
                              STRING_MULTIBYTE (help));
              unbind_to (count, Qnil);
            }